From 543aa0cd4a461285298d33a90ab3f11a9f084ca5 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Wed, 13 Mar 2024 00:17:32 +0000
Subject: Add home page

---
 pages/category/[id].vue | 54 -------------------------------------------------
 1 file changed, 54 deletions(-)
 delete mode 100644 pages/category/[id].vue

(limited to 'pages/category/[id].vue')

diff --git a/pages/category/[id].vue b/pages/category/[id].vue
deleted file mode 100644
index 3189d2a..0000000
--- a/pages/category/[id].vue
+++ /dev/null
@@ -1,54 +0,0 @@
-<script setup lang="ts">
-import { useSessionStore } from '@/stores/session';
-
-definePageMeta({
-  layout: 'editor'
-})
-
-const sessionStore = useSessionStore();
-const route = useRoute();
-
-const categoryId = route.params.id as string;
-
-const categoryName = sessionStore.getCategoryById(categoryId)?.display.name;
-</script>
-
-<template>
-  <PageHeader>
-    <span id="path">
-      <font-awesome-icon class="icon" :icon="['fas', 'fa-folder']" />
-      <span class="title" v-if="categoryName">{{ stripColorCodes(categoryName) }} </span>
-      <code>({{ categoryId }})</code>
-    </span>
-    <span id="controls" class="control-group">
-      <Button type="solid" :disabled="true" :icon="['fas', 'fa-save']" :label="'Save'"></Button>
-    </span>
-  </PageHeader>
-
-  <div id="options-container">
-    <EditorCategoryOptionsPanel :categoryId="categoryId" />
-    <EditorCategoryChildrenOptionsPanel :categoryId="categoryId" />
-  </div>
-</template>
-
-<style scoped>
-#pane-container {
-  width: 100%;
-  flex-grow: 1;
-  height: calc(100vh - 73px);
-  max-height: calc(100vh - 73px);
-}
-
-#options-container {
-  width: 100%;
-  display: flex;
-  gap: 1rem;
-  padding: 1rem;
-  overflow: auto;
-  max-height: calc(100% - 55px);
-}
-
-header {
-  border-bottom: 1px solid var(--color-border);
-}
-</style>
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

